#ifndef MOVINGPANES_H
#define MOVINGPANES_H

#include <QWidget>
#include "RGBEffect.h"
//#include "EffectRegisterer.h"

class MovingPanes : public RGBEffect
{

public:
    MovingPanes();
    ~MovingPanes();

    //EFFECT_REGISTERER(ClassName(), CAT_ADVANCED, [](){return new MovingPanes;});

    static std::string const ClassName() {return "MovingPanes";}
    //void DefineExtraOptions(QLayout*) override;
    void StepEffect(ControllerZone* const controller_zone) override;

private:
    //Ui::MovingPanes *ui;

    double time = 0.0;
    RGBColor GetColor(float, float, float, float, bool);
};

#endif // MOVINGPANES_H
